
FILE		= ProjectDocumentation
SOURCE		= $(FILE).tex
TARGET		= $(FILE).pdf
SECTIONS	= $(FILE).tex sections/

all: build bibtex $(TARGET)

$(TARGET): build

build: $(SECTIONS)
	pdflatex $(SOURCE)

bibtex: $(SECTIONS)
	bibtex $(FILE)
	
view: $(TARGET)
	evince $(TARGET) &
